public class test {
    public static void main(String[] args) {
        Rectangel rectangel1,rectangel2;
        rectangel1 = new Rectangel();
        rectangel2 = new Rectangel();
        rectangel1.setRentangel(4,40);
        rectangel2.setRentangel(3.5,34.9);
        System.out.println("rectangel1:");
        System.out.println(rectangel1.width);
        System.out.println(rectangel1.height);
        System.out.println(rectangel1.getArea());
        System.out.println(rectangel1.getPerimeter());
        System.out.println("rectangel2:");
        System.out.println(rectangel2.width);
        System.out.println(rectangel2.height);
        System.out.println(rectangel2.getArea());
        System.out.println(rectangel2.getPerimeter());
    }
}
